package com.ford.trade.hotel;

import com.ford.trade.entity.Hotel;
import com.ford.trade.repository.HotelRepository;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author :  zhangfutao
 * @version :  V-1.0
 * @description :
 * @date :   2022/5/25 14:52
 */
@Service
public class HotelServiceImpl implements HotelService {

    @Resource
    private HotelRepository hotelRepository;

    @Override
    public void save(Hotel hotel) {
        hotelRepository.save(hotel);
    }
}
